<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
[#include "/admin/include/head.htm"]
<script type="text/javascript">
	var grid;
	$(function(){
		 grid = $("#maingrid").ligerGrid({
            columns: [
			{name: 'id', hide: true, width:0, isAllowHide: false},
			{display: '订单编号',name:'order.orderNo' ,align: 'center', width: 200},
			{display: '会员帐号',name:'order.member.username' ,align: 'center', width: 200},
			{display: '日志类型', name:'logType' ,align: 'center', width: 150, i18n:'LogType'},
			{display: '操作人', name: 'operator', align: 'center', width: 120},
			{display: '操作人身份', name: 'operatorType', align: 'center', width: 90 },
			{display: '日志内容', name: 'logText', align: 'center', width: 250 },
			{display: '创建时间', name: 'createDate', align: 'center', width: 250 }

			],  pageSize:20, url: '${base}/admin/b2c/orderLog/queryData.jhtml',
			checkbox: false, width: '100%', height:'100%', enabledSort: true
        });
        //双击事件(id:为点击操作的id)
      	LG.setGridDoubleClick(grid, 445);
        $("#pageloading").hide();
		LG.loadToolbar(grid);
		//绑定搜索按钮
		LG.search(grid);
	});
	
</script>
</head>
<body style="padding:10px; overflow:hidden;">
	<div id="functions">
		<div class="clearfix">
			<div style="float:left;">
				<span id="searchDefault">
					订单编号：<input type="text" id="paymentNo" class="formText" name="search_EQ_order.orderNo"/>
				</span>
				<span>
					会员名称：<input type="text" id="paymentNo" class="formText" name="search_LIKE_order.member.username"/>
				</span>
                <span>
					日志类型:[@u.select_map headerKey="" headerValue="全部"
					listKey="key" listValue="name"
					headerButtom="false" list=logType
					name="search_EQ_logType"/]
				</span>
				<span>
					创建日期：<input type="text" id="startDate" name="search_GE_createDate"
                                class="formText WdatePicker {dateFmt:'yyyy-MM-dd'}" />
						 -
						 <input type="text" id="endDate" name="search_LE_createDate"
                                class="formText WdatePicker {dateFmt:'yyyy-MM-dd'}" />
				</span>
                <input type="button" id="search" class="button" value="搜索"/>
				<a href="#" id="search_btn_reset" face="Wingdings 3">清除本次搜索</a>
			</div>
		</div>
	</div>
	<div id="maingrid" style="margin:0; padding:0"></div>
</body>
</html>